package com.glory.hikvisionmobile.bean.TrackIn;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: ToArrayBean
 * Author: XJH
 * Date: 2020/5/9 16:53
 * Description:
 * History:
 */
public class ToArrayBean implements Serializable {

    private String state;

    private String holdState;

    private String equipmentId;

    private String mainQty;

    private String currentStepName;

    private String currentStepDesc;

    private String recipeName;

    private String recipeDesc;

    private String rqtime;

    private String partName;

    private String partDesc;

    private List<ToArrayList> xPdaLotToArrays;

    public String getHoldState() {
        return holdState == null ? "" : holdState;
    }

    public void setHoldState(String holdState) {
        this.holdState = holdState;
    }

    public List<ToArrayList> getxPdaLotToArrays() {
        if (xPdaLotToArrays == null) {
            return new ArrayList<>();
        }
        return xPdaLotToArrays;
    }

    public void setxPdaLotToArrays(List<ToArrayList> xPdaLotToArrays) {
        this.xPdaLotToArrays = xPdaLotToArrays;
    }

    public String getState() {
        return state == null ? "" : state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getEquipmentId() {
        return equipmentId == null ? "" : equipmentId;
    }

    public void setEquipmentId(String equipmentId) {
        this.equipmentId = equipmentId;
    }

    public String getMainQty() {
        return mainQty == null ? "" : mainQty;
    }

    public void setMainQty(String mainQty) {
        this.mainQty = mainQty;
    }

    public String getCurrentStepName() {
        return currentStepName == null ? "" : currentStepName;
    }

    public void setCurrentStepName(String currentStepName) {
        this.currentStepName = currentStepName;
    }

    public String getCurrentStepDesc() {
        return currentStepDesc == null ? "" : currentStepDesc;
    }

    public void setCurrentStepDesc(String currentStepDesc) {
        this.currentStepDesc = currentStepDesc;
    }

    public String getRecipeName() {
        return recipeName == null ? "" : recipeName;
    }

    public void setRecipeName(String recipeName) {
        this.recipeName = recipeName;
    }

    public String getRecipeDesc() {
        return recipeDesc == null ? "" : recipeDesc;
    }

    public void setRecipeDesc(String recipeDesc) {
        this.recipeDesc = recipeDesc;
    }

    public String getRqtime() {
        return rqtime == null ? "" : rqtime;
    }

    public void setRqtime(String rqtime) {
        this.rqtime = rqtime;
    }

    public String getPartName() {
        return partName == null ? "" : partName;
    }

    public void setPartName(String partName) {
        this.partName = partName;
    }

    public String getPartDesc() {
        return partDesc == null ? "" : partDesc;
    }

    public void setPartDesc(String partDesc) {
        this.partDesc = partDesc;
    }

    public class ToArrayList implements Serializable{

        private long objectRrn;

        private String componentId;

        private String recipeName;

        private String owner;

        private String state;

        private String trackInOp;

        private String trackInTime;

        private String trackOutOp;

        private String trackOutTime;

        private String abortOp;

        private String abortTime;

        private String stepName;

        private boolean checked;

        public boolean isChecked() {
            return checked;
        }

        public void setChecked(boolean checked) {
            this.checked = checked;
        }

        public long getObjectRrn() {
            return objectRrn;
        }

        public void setObjectRrn(long objectRrn) {
            this.objectRrn = objectRrn;
        }

        public String getComponentId() {
            return componentId;
        }

        public void setComponentId(String componentId) {
            this.componentId = componentId;
        }

        public String getRecipeName() {
            return recipeName == null ? "" : recipeName;
        }

        public void setRecipeName(String recipeName) {
            this.recipeName = recipeName;
        }

        public String getOwner() {
            return owner == null ? "" : owner;
        }

        public void setOwner(String owner) {
            this.owner = owner;
        }

        public String getState() {
            return state == null ? "" : state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getTrackInOp() {
            return trackInOp == null ? "" : trackInOp;
        }

        public void setTrackInOp(String trackInOp) {
            this.trackInOp = trackInOp;
        }

        public String getTrackInTime() {
            return trackInTime == null ? "" : trackInTime;
        }

        public void setTrackInTime(String trackInTime) {
            this.trackInTime = trackInTime;
        }

        public String getTrackOutOp() {
            return trackOutOp == null ? "" : trackOutOp;
        }

        public void setTrackOutOp(String trackOutOp) {
            this.trackOutOp = trackOutOp;
        }

        public String getTrackOutTime() {
            return trackOutTime == null ? "" : trackOutTime;
        }

        public void setTrackOutTime(String trackOutTime) {
            this.trackOutTime = trackOutTime;
        }

        public String getAbortOp() {
            return abortOp == null ? "" : abortOp;
        }

        public void setAbortOp(String abortOp) {
            this.abortOp = abortOp;
        }

        public String getAbortTime() {
            return abortTime == null ? "" : abortTime;
        }

        public void setAbortTime(String abortTime) {
            this.abortTime = abortTime;
        }

        public String getStepName() {
            return stepName == null ? "" : stepName;
        }

        public void setStepName(String stepName) {
            this.stepName = stepName;
        }
    }
}
